<?php
class indexController extends module_auth_MODULEID_OF_MINEController{
	public function __construct(){
		parent::__construct();
		

	}
	
    public function index(){

		

    }
	public function setting($tpl){
		if($_POST){
			$setting_file=APPPATH.'setting/'.$this->moduleid.'.php';
			$str="<?php\r\n";
			$str.='return ';
			$str.=var_export($_POST,true);
			$str.=';';
			$r=file_put_contents($setting_file, $str);
			msg($r);
		}
		
		$data=array();
		$data=array_merge($data,$this->setting);
		include $tpl;
	}
	public function quick_menu($tpl){
		extract(VG::$gp_var);
		
		include $tpl;
	}
} 
